@charset "utf-8";
@import "common";

.web{
    .slide{
        padding-top: 50px;
    }
    
    .game-hot{
        .hot-icon{
            width: 40px;
            height: 100px;
            background: url(../img/hot-icon.png) no-repeat center;
            p{
                padding-top: 20px;
                padding-left: 10px;
                padding-right: 10px;
                font-size: 1.375em;
                color: #ffffff;
            }
        }
        h1{
            font-size: 2.14em;
            padding-top: 10px;
//          text-align: right;
        }
        p{
            font-size: 0.857em;
            line-height: 30px;
            color: #898989;
        }
        .game-item{
            margin-bottom: 30px;
            .item-img{
                float: left;
                position: relative;
                overflow: hidden;
                cursor: pointer;
                border-radius: 5px;
                img{
                    width: 100%;
                    &:hover{
                        opacity: .8;
                    }
                }
            }
        }
    }
    .hot1{
        height: auto;
        background: url(../img/game_bg_02.png) no-repeat left;
    }
    .hot2{
        height: auto;
        background: url(../img/game_bg_01.png) no-repeat right;
        padding-bottom: 50px;
    }
    @media (max-width: 768px) {
        .hot1,.hot2{
            background: none;
        }
    }

    .case{
        margin-bottom: 50px;
        .page-header{
            border-bottom: none;
        }
        .game-item{
            margin-bottom: 30px;
            .game-img{
                position: relative;
                overflow: hidden;
                border-radius: 5px;
                img{
                    width: 100%;
                }
                .game-about{
                    position: absolute;
                    left: -100%;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    line-height: 30px;
                    text-align: center;
                    color: #fff;
                    background: rgba(0,0,0,0.6);
                    transition: all .5s ease-in;
                    // display: none;
                    p{
                        font-size: 12px;
                        display: block;
                        line-height: 20px;
                        padding: 10px 10px 0 10px;
                        text-align: left;
                    }
                }
                &:hover .game-about{
                    // display: block;
                    left: 0;
                    
                }
                
            }
            .game-name{
                padding: 10px 0;
            }
        }
    }
}